#include "listview.h"
#include <QStandardItemModel>

ListView::ListView(QWidget *parent) : QListView(parent)
{
    this->standardItemModel = new QStandardItemModel(parent);
    this->setModel(this->standardItemModel);
}

ListView::~ListView()
{
}

void ListView::append(QString s){
    this->standardItemModel->appendRow(new QStandardItem(s));
}
